<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"      
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:p="http://primefaces.org/ui">
 
<h:head>
  <link rel="stylesheet" type="text/css" href="${verDetalhesLivroBean.linkCssLayoutPagina}" />
  <link href="CSS/styles.css" rel="stylesheet" type="text/css" />
  <link href="CSS/posicaoDoMenu.css" rel="stylesheet" type="text/css" />
  <script src="javascript/paraListagemDeResenhas.js"></script>
</h:head>
<h:body>

<f:metadata>
        <f:event type="preRenderView" listener="#{verDetalhesLivroBean.carregarCSSLayoutParaQualquerPagina}"/>
</f:metadata>
    <div id='conteudoPagina'>
    <p:messages></p:messages>
<f:view>
	<h1><h:outputText value = "#{mostrarPaginaDeUmaResenhaDaRevish.tituloResenha}"></h:outputText></h1>
	<br />
	<img src = "CSS/images/bom.png" name = "#{mostrarPaginaDeUmaResenhaDaRevish.notaResenha}" />
	<br />
	<br />
	<h4>Autor da resenha:</h4>
	<h4>#{mostrarPaginaDeUmaResenhaDaRevish.autorResenha}</h4>
	<br />
	<br />
	<br />
	<h:outputText escape = "false" value = "#{mostrarPaginaDeUmaResenhaDaRevish.textoResenha}"></h:outputText>	
</f:view>

<script>
    desenharEstrelinhasNosTitulosDasResenhas();
</script>
	</div>	
</h:body>
</html>